package com.jun.basic.service.impl;

import com.jun.basic.domain.Video;
import com.jun.basic.mapper.VideoMapper;
import com.jun.basic.service.VideoService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class VideoServiceImpl implements VideoService {
    @Resource
    private VideoMapper videoMapper;

    @Override
    public List<Video> listVideo() {
        return videoMapper.listVideo();
    }
}
